print("今有物不知其数，三三数之剩二人，五五数之剩三，七七数之剩二，问几何？\n")
none = True
number = 0
while none:
    number += 1
    if number %3 ==2 and number % 5 == 3 and number % 7 ==2:
        print("答：这个数是：", number)
        none = False